#
# Be sure to run `pod lib lint ZLKit.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'ZLKit'
  s.version          = '4.0.0'
  s.summary          = '自己经常用到的内容'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/zltemplates/ZLKit'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'Lei' => 'itzhaolei@foxmail.com' }
  s.source           = { :git => 'git@gitee.com:zltemplates/ZLKit.git', :tag => s.version }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'
  s.swift_version = '5.0'

  s.source_files = 'ZLKit/Classes/**/*'
  
#   s.resource_bundles = {
#     'ZLKit' => ['ZLKit/Assets/*.png']
#   }
  
  s.subspec 'UI' do |ss|
    ss.source_files = 'ZLKit/Classes/UI/*.{h,m}'
  end
  
  s.subspec 'Extensions' do |ss|
    ss.source_files = 'ZLKit/Classes/Extensions/*.{h,m}'
  end
  
  s.subspec 'TemplateSuperClass' do |ss|
    ss.source_files = 'ZLKit/Classes/TemplateSuperClass/*.{h,m}'
  end
  
  s.subspec 'Keyboard' do |ss|
    ss.source_files = 'ZLKit/Classes/Keyboard/*.{h,m}'
    ss.resource_bundles = {
      'ZLKit' => ['ZLKit/Assets/Keyboard/*.png']
    }
    s.subspec 'Resources' do |ss|
      ss.source_files = 'ZLKit/Classes/Keyboard/Resources/*.{h,m}'
      ss.resource_bundles = {
        'ZLKit' => ['ZLKit/Assets/Keyboard/Resources/*.png']
      }
    end
  end
  
  

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  s.dependency 'ZLNavigationBar', '~> 3.0.0'
  s.dependency 'MJRefresh', '~> 3.7.2'

end
